import request from '../../utils/httpRequest'

const spuinfo = '/product/product/spuinfo'

// 保存spu信息
export function saveSpuInfoDetail (data) {
  return request({
    url: `${spuinfo}/save/detail`,
    method: 'post',
    data
  })
}

// 获取spu分页
export function getSpuInfoPage (params) {
  return request({
    url: `${spuinfo}/list`,
    method: 'get',
    params: params
  })
}
